package cn.edu.sasu.domain;

public class Users {
	private Integer userId;
	private String userName;
	private String userNumber;
	private String userPassword;
	private String userAddress;
	private Integer userFlag;
	private String userPhoto;
	/**
	 * 记录当前登录的用户
	 */
	private static Users user = null;

	public static Users getUser() {
		return user;
	}

	public static void setUser(Users user) {
		Users.user = user;
	}

	public Users() {
	}

	@Override
	public String toString() {
		return "Users [userId=" + userId + ", userName=" + userName
				+ ", userNumber=" + userNumber + ", userPassword="
				+ userPassword + ", userAddress=" + userAddress + ", userFlag="
				+ userFlag + ", userPhoto=" + userPhoto + "]";
	}

	public String getUserPhoto() {
		return userPhoto;
	}

	public void setUserPhoto(String userPhoto) {
		this.userPhoto = userPhoto;
	}

	public String getUserNumber() {
		return userNumber;
	}

	public void setUserNumber(String userNumber) {
		this.userNumber = userNumber;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPassword() {
		return userPassword;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}

	public String getUserAddress() {
		return userAddress;
	}

	public void setUserAddress(String userAddress) {
		this.userAddress = userAddress;
	}

	public Integer getUserFlag() {
		return userFlag;
	}

	public void setUserFlag(Integer userFlag) {
		this.userFlag = userFlag;
	}

}
